/**    
 * Copyright by 深圳市共治物联科技有限公司 (c) 2023 Apple Inc.    
 * Date:${createTime}    
 */
package ${packageName};

import ${basePackageName}.mapper.entity.${ClassName}${setting.entPostfix};
import com.github.pagehelper.PageInfo;
import com.lqfp.common.base.Page;
import com.lqfp.common.base.TResult;
/**
 * @description: ${comment}
 * @author: ${author}
 * @date: ${createTime}
 **/
public interface ${ClassName}Service  {
	/**
	 * @description: 分页查询${comment}
	 * @param: page
	 * @return: TResult<PageInfo<${ClassName}${setting.entPostfix}>> 
	 * @author: ${author}
	 * @date: ${createTime}
	 **/	
    TResult<PageInfo<${ClassName}${setting.entPostfix}>> page(Page<${ClassName}${setting.entPostfix}> page);
	/**
	 * @description: 新增${comment}
	 * @param: ${className}${setting.entPostfix}
	 * @return: TResult<?> 
	 * @author: ${author}
	 * @date: ${createTime}
	 **/
    TResult<?> save(${ClassName}${setting.entPostfix} ${className}${setting.entPostfix});
	/**
	 * @description: 修改${comment}
	 * @param: ${className}${setting.entPostfix}
	 * @return: TResult<?> 
	 * @author: ${author}
	 * @date: ${createTime}
	 **/
    TResult<?> updateById(${ClassName}${setting.entPostfix} ${className}${setting.entPostfix});
	/**
	 * @description: 删除${comment}
	 * @param: id
	 * @return: TResult<?> 
	 * @author: ${author}
	 * @date: ${createTime}
	 **/
    TResult<?> removeById(String id);
}
